home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ahmsyscm / _setup.1 / AHMTFormSizes.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-11-12  |  2.0 KB  |  64 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'AHMTFormSizes.pas' rev: 3.00
  6.  
  7. #ifndef AHMTFormSizesHPP
  8. #define AHMTFormSizesHPP
  9. #include <AHMTFormHook.hpp>
  10. #include <AHMSystem.hpp>
  11. #include <Classes.hpp>
  12. #include <Messages.hpp>
  13. #include <Windows.hpp>
  14. #include <SysInit.hpp>
  15. #include <System.hpp>
  16.  
  17. //-- user supplied -----------------------------------------------------------
  18.  
  19. namespace Ahmtformsizes
  20. {
  21. //-- type declarations -------------------------------------------------------
  22. enum AHMTFormSizes__1 { MinimumWidth, MaximumWidth, MinimumHeight, MaximumHeight };
  23.  
  24. typedef Set<AHMTFormSizes__1, MinimumWidth, MaximumHeight>  TAHMFormSizeOptions;
  25.  
  26. class DELPHICLASS TAHMFormSizes;
  27. class PASCALIMPLEMENTATION TAHMFormSizes : public Ahmtformhook::TAHMHookComponent 
  28. {
  29.     typedef Ahmtformhook::TAHMHookComponent inherited;
  30.     
  31. private:
  32.     int FMinW;
  33.     int FMinH;
  34.     int FMaxW;
  35.     int FMaxH;
  36.     TAHMFormSizeOptions FFormSizeOptions;
  37.     
  38. public:
  39.     virtual void __fastcall Hooked(Messages::TMessage &AMsg);
  40.     
  41. __published:
  42.     __property About ;
  43.     __property int MinWidth = {read=FMinW, write=FMinW, nodefault};
  44.     __property int MaxWidth = {read=FMaxW, write=FMaxW, nodefault};
  45.     __property int MinHeight = {read=FMinH, write=FMinH, nodefault};
  46.     __property int MaxHeight = {read=FMaxH, write=FMaxH, nodefault};
  47.     __property TAHMFormSizeOptions Options = {read=FFormSizeOptions, write=FFormSizeOptions, nodefault}
  48.         ;
  49. public:
  50.     /* TAHMHookComponent.Create */ __fastcall virtual TAHMFormSizes(Classes::TComponent* AOwner) : Ahmtformhook::
  51.         TAHMHookComponent(AOwner) { }
  52.     /* TAHMHookComponent.Destroy */ __fastcall virtual ~TAHMFormSizes(void) { }
  53.     
  54. };
  55.  
  56. //-- var, const, procedure ---------------------------------------------------
  57.  
  58. }    /* namespace Ahmtformsizes */
  59. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  60. using namespace Ahmtformsizes;
  61. #endif
  62. //-- end unit ----------------------------------------------------------------
  63. #endif    // AHMTFormSizes
  64.